// -----------------------------------------------------------------------------
// Generate By Furion Tools v1.6.0                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;

#nullable disable

namespace iemtm.WeChat.Core
{
    public partial class GetWayList : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<GetWayList, MasterDbContextLocator>
    {

        public long Id { get; set; }
        public string GetwayId { get; set; }
        public string GetwayName { get; set; }
        public string AreaCode { get; set; }
        public string AreaName { get; set; }
        public string Status { get; set; }
        public string Type { get; set; }
        public string BaseStationCode { get; set; }
        public string CompanyCode { get; set; }
        public string Remark { get; set; }
    
        public void Configure(EntityTypeBuilder<GetWayList> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
                entityBuilder.Property(e => e.AreaCode).HasMaxLength(50);

                entityBuilder.Property(e => e.AreaName).HasMaxLength(50);

                entityBuilder.Property(e => e.BaseStationCode).HasMaxLength(50);

                entityBuilder.Property(e => e.CompanyCode).HasMaxLength(50);

                entityBuilder.Property(e => e.GetwayId)
                    .HasMaxLength(100)
                    .IsUnicode(false);

                entityBuilder.Property(e => e.GetwayName)
                    .HasMaxLength(200)
                    .IsUnicode(false);

                entityBuilder.Property(e => e.Remark).IsUnicode(false);

                entityBuilder.Property(e => e.Status)
                    .HasMaxLength(50)
                    .IsUnicode(false);

                entityBuilder.Property(e => e.Type)
                    .HasMaxLength(50)
                    .IsUnicode(false);
        }

    }
}

